module EmployeeRepositiory
  def list_all_lost_certificates
    self.all.inject([]){ |r,e|
      r + EmployeePosition.check_certificate(find(e["id"]))
    }
  end
end
